package com.group.library.order.entity;

import java.sql.Date;
import java.sql.Time;

/**
 * Author: Lai
 * Email：aYong1324@163.com
 * Time：2022年5月20日00:00:42
 * Description：跟预约相关
 * 具体有：用户预约座位，查看预约情况，后台管理员查看用户预约情况等等
 */
public class Order {
    // 预约编号
    private String orderId;
    // 座位编号
    private String seat;
    // 当前日期
    private java.sql.Date day;
    // 开始时间
    private Time startTime;
    // 结束时间
    private Time endTime;
    // 签到时间
    private Time signInTime;
    // 签退时间
    private Time signOutTime;
    // 暂时离开时间段
    private String temporaryTime;
    // 预约状态
    private Integer orderStatus;
    // 用户编号
    private String userId;
    // 用户名字
    private String userName;
    // 用户学号
    private String userNumber;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSeat() {
        return seat;
    }

    public void setSeat(String seat) {
        this.seat = seat;
    }

    public Date getDay() {
        return day;
    }

    public void setDay(Date day) {
        this.day = day;
    }

    public Time getStartTime() {
        return startTime;
    }

    public void setStartTime(Time startTime) {
        this.startTime = startTime;
    }

    public Time getEndTime() {
        return endTime;
    }

    public void setEndTime(Time endTime) {
        this.endTime = endTime;
    }

    public Time getSignInTime() {
        return signInTime;
    }

    public void setSignInTime(Time signInTime) {
        this.signInTime = signInTime;
    }

    public Time getSignOutTime() {
        return signOutTime;
    }

    public void setSignOutTime(Time signOutTime) {
        this.signOutTime = signOutTime;
    }

    public String getTemporaryTime() {
        return temporaryTime;
    }

    public void setTemporaryTime(String temporaryTime) {
        this.temporaryTime = temporaryTime;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId='" + orderId + '\'' +
                ", seat='" + seat + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", signInTime=" + signInTime +
                ", signOutTime=" + signOutTime +
                ", temporaryTime='" + temporaryTime + '\'' +
                ", orderStatus=" + orderStatus +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", userNumber='" + userNumber + '\'' +
                '}';
    }
}
